<style>
    .tree-folder{
        clear: both;
        background: none;
    }
    .tree-folder-open{
        clear: both;
        background: none;
    }
    .tree-file{
        clear: both;
        background: none;
    }
    .fa-folder {
        margin-top: 3px;
    }
    .fa-file-text{
        margin-top: 3px;
    }
</style>
<table style="width: 100%;height: 100%">
    <tbody>
    {% if NavUl is defined %}
        <tr style="height: 67px">
            <td valign="top">{{ NavUl }}</td>
        </tr>
    {% endif %}
    <tr>
        <input id ='view' type="hidden" value="{{ view }}">
        <td id="depTree">
            <div id="taskList_toolbar" class="xh-datagrid-toolbar" style="line-height:20px;padding:5px 0 5px 10px;">
                <input id ='projectid' type="hidden" value="{{ projectId }}">
                <input id ='view' type="hidden" value="{{ view }}">
                <select id ='taskstatus' style = 'width:100px;'>
                        <option value = 0 >选择任务状态</option>
                        {% for key ,value in taskStatus %}
                        <option value = '{{key}}'>{{value}}</option>
                        {% endfor %}
                </select>

                <select id ='tasklevel' style = 'width:100px;'>
                    <option value = 0 >选择任务级别</option>
                    {% for key ,value in taskLevels %}
                        <option value = '{{key}}'>{{value}}</option>
                    {% endfor %}
                </select>

                <input id="memberid" class="easyui-combobox" name="dept" placeholder="筛选执行人" style="height: 22px"
                       data-options="valueField:'id',textField:'text',url:'{{ url('pm/project/getProjectMembersById?projectId=')~projectId }}',prompt:'选择执行人'">

                <a id = 'bt_list_search'  class="easyui-linkbutton" plain="true"> <i class="fa fa-search" style="color:#2baab1;"></i> 查询</a>
                <div class="datagrid-toolbar" style="margin:3px 0 5px -10px;width:110%;"></div>

                {% if taskAdd  %}
                    <a id="bt_list_add" plain="true"><i class="fa fa-plus fa-lg fa-fw" style="color:#2baab1;"></i>新增</a>
                {% endif %}
                {% if taskEdit %}
                    <a id="bt_list_edit" plain="true"><i class="fa fa-pencil fa-lg fa-fw" style="color:#2baab1;"></i>编辑</a>
                {% endif %}
                {% if taskDel %}
                    <a id="bt_list_del" plain="true"><i class="fa fa-remove fa-lg fa-fw" style="color:#2baab1;"></i>删除</a>
                {% endif %}
                {% if taskEdit %}
                    <a id="bt_list_link" plain="true"><i class="fa fa-link fa-lg fa-fw" style="color:#2baab1;"></i>关联任务</a>
                {% endif %}
                <div id="bt_list_state" plain="true">状态</div>

            </div>

            {#为避免2次请求 将class="easyui-treegrid"去除 #}
            <table id="taskList" title="项目列表"  style="height: 100%"
                toolbar="#taskList_toolbar">

            </table>
        </td>
    </tr>
    </tbody>
</table>

<div id="changestatus" style="width:100px;color:#2baab1;display: none">
        <div  iconCls="fa fa-play" id="1" style="color:#2baab1;">开始</div>
        <div  iconCls="fa fa-check" style="color:green;">完成</div>
        <div  iconCls="fa fa-close" style="color:red;">关闭</div>
</div>